package org.liuqm.example.service.impl;

import org.liuqm.example.RoleMapperFactory;
import org.liuqm.example.mapper.ISysRoleMapper;
import org.liuqm.example.mapper.impl.SysRoleMapperImpl;
import org.liuqm.example.service.ISysRoleService;

public class SysRoleServiceImpl implements ISysRoleService {
    ISysRoleMapper iSysRoleMapper = RoleMapperFactory.getRoleMapper("mysql");

    public SysRoleServiceImpl(String databaseType) {
        iSysRoleMapper = RoleMapperFactory.getRoleMapper(databaseType);
    }

}
